﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ch03_1
{
    class Class1
    {
        static void Main(string[] args)
        {
            Console.Write("请输入你的成绩：");
            double score = double.Parse(Console.ReadLine());

            //双分支的if语句
            if (score >= 60)
            {
                Console.WriteLine("恭喜你，及格啦！");
            }
            else 
            {
                Console.WriteLine("很遗憾，不及格！");
            }

        }
    }
}
